package com.sneakxy.cloudbase.platform.bean;

import org.springframework.data.annotation.Id;

import com.sneakxy.mybatis.commons.annotations.Column;
import com.sneakxy.mybatis.commons.annotations.Table;
import com.sneakxy.mybatis.commons.orm.generation.GeneratedValue;
import com.sneakxy.mybatis.commons.orm.generation.GenerationType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 个人设置信息
 * @author 潜行的青衣
 * @see
 */
@Data
@ApiModel("个人设置信息")
@Table("t_mb4j_setting")
@EqualsAndHashCode(callSuper = false)
public class Setting extends BaseEntity<String> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3629011736838975288L;

	/**
	 * 主键ID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.UUID)
	@Column("id")
	@ApiModelProperty("主键ID")
	private String id;

	/**
	 * 拥有者ID：account_id
	 */
	@Column("owner")
	@ApiModelProperty("拥有者ID：account_id")
	private String owner;

	/**
	 * 键
	 */
	@Column("key")
	@ApiModelProperty("键")
	private String key;

	/**
	 * 键值
	 */
	@Column("value")
	@ApiModelProperty("键值")
	private String value;

}
